<?php

/**------------------------------------------------------------------------
com_mediamallfactory - Media Mall Factory 3.3.5 
------------------------------------------------------------------------
 * @author TheFactory
 * @copyright Copyright (C) 2011 SKEPSIS Consult SRL. All Rights Reserved.
 * @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * Websites: http://www.thefactory.ro
 * Technical Support: Forum - http://www.thefactory.ro/joomla-forum/
-------------------------------------------------------------------------*/

defined('_JEXEC') or die;

class MediaMallFactoryBackendViewList extends FactoryView
{
  protected
    $buttons = array('', 'publish', 'unpublish', '', 'delete'),
    $get = array('state', 'items', 'pagination', 'filters'),
    $css = array('buttons'),
    $html = array('admin', 'site/media'),
    $tpl = '/list'
  ;

  protected function addToolbar()
  {
    JToolBarHelper::addNew('media.add');
    JToolBarHelper::editList('media.edit');

    parent::addToolbar();
  }
}
